/*******************************************************************************
 * Copyright (c) 2024 Martin Erich Jobst
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *   Martin Jobst - initial API and implementation and/or initial documentation
 *******************************************************************************/
package org.eclipse.fordiac.ide.gef.annotation;

public interface GraphicalAnnotationProvider {

	/**
	 * Initialize the participant
	 *
	 * @param model   The model
	 * @param context The model-specific context
	 * @return true if the participant wishes to participate in this model, false
	 *         otherwise
	 */
	boolean initialize(GraphicalAnnotationModel model, Object context);

	/**
	 * Reload the participant
	 */
	void reload();

	/**
	 * Dispose participant
	 */
	void dispose();
}
